import pymongo

myclient = pymongo.MongoClient("mongodb://82.157.127.245:27017/")
mydb = myclient["weibo"]
mycollection = mydb["hotsearch"]
